<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
    <script type="text/javascript" src="../resources/js/helper/jquery.dateFormat-1.0.js"></script>
    <script type="text/javascript" language="javascript" src="../resources/js/index.js" charset="UTF-8"></script>
    <script type="text/javascript" language="javascript" src="../resources/js/helper/common.js" charset="UTF-8"></script>
    <script type="text/javascript" language="javascript" src="../resources/js/helper/serializeObject.js" charset="UTF-8"></script>
    <script type="text/javascript" language="javascript" src="../resources/js/helper/dropDownMenu.js" charset="UTF-8"></script>
    <script type="text/javascript" language="javascript" src="../resources/js/helper/isContains.js" charset="UTF-8"></script>
    <link type="text/css" rel="stylesheet" href="../resources/css/common.css">
    <link type="text/css" rel="stylesheet" href="../resources/css/index.css">
    <title>${currentPage.title}</title>
</head>
<body>
    <div>
        <jsp:include page="header.jsp" />
        <div class="locate-center">
            ${currentPage.content}
        </div>

        <%--<div class="login_container">--%>
        <%--<table id="login_table" class="login_table">--%>
        <%--<form:form id="auth_form" modelAttribute="user" action="auth.do" method="post" >--%>
        <%--<tr>--%>
        <%--<td>логин:</td>--%>
        <%--&lt;%&ndash;<td><input name="username" type="text" id="username_input"/></td>&ndash;%&gt;--%>
        <%--<td><form:input path="username" /></td>--%>
        <%--</tr>--%>
        <%--<tr></tr>--%>
        <%--<tr>--%>
        <%--&lt;%&ndash;<td><input type="button" id="auth_button" value="Войти"/></td>&ndash;%&gt;--%>
        <%--<td>пароль:</td>--%>
        <%--<td><form:input path="password" /></td>--%>
        <%--</tr>--%>
        <%--<tr>--%>
        <%--<td>--%>
        <%--<input id="store_auth_info" type="checkbox">--%>
        <%--<input id="auth_button" type="submit" value="Войти"/>--%>
        <%--</td>--%>
        <%--</tr>--%>
        <%--</form:form>--%>
        <%--</table>--%>
        <%--</div>--%>



        <%--<table id="logout_table" class="logout_table invisible" >--%>
        <%--<tr>--%>
        <%--&lt;%&ndash;<td>&ndash;%&gt;--%>
        <%--&lt;%&ndash;<div id="auth_info"><c:out value="${sessionScope.user.username}"/></div>&ndash;%&gt;--%>
        <%--&lt;%&ndash;</td>&ndash;%&gt;--%>
        <%--<td>--%>
        <%--<input type="button" id="unauth_button" value="Выйти"/>--%>
        <%--</td>--%>
        <%--</tr>--%>
        <%--</table>--%>

        <%--<table>--%>
        <%--<td><input name="message" type="text" id="message_input"/></td>--%>
        <%--<td>--%>
        <%--<input type="button" type="button" id="send_message_button" value="Отправить"/>--%>
        <%--</td>--%>
        <%--</table>--%>


        <%--<table>--%>
        <%--<c:forEach var="user" items="${users}">--%>
        <%--<tr>--%>
        <%--<td><c:out value="${user}"/></td>--%>
        <%--</tr>--%>
        <%--</c:forEach>--%>
        <%--<tr>--%>
        <%--<td><input value="click" onclick="getUsers()" type="button" id="button_id"/></td>--%>
        <%--<td>--%>
        <%--<div id="status">фффф</div>--%>
        <%--</td>--%>
        <%--</tr>--%>
        <%--</table>--%>

        <div >

        </div>

        <div class="chat_container">
            <div class="chat_minimize_container">
                    <input type="button" id="chat_minimize_button" class="chat_minimize_button" />
            </div>
            <div id="message_box_container">
                <textarea id="message_box" name="message_box" rows="10" cols="40" disabled="disabled"></textarea>
                <form id="send_message" name="send_message" action="sendMessage.do" method="post">
                    <div>
                        <textarea id="message" name="message" rows="4" cols="40"></textarea>
                    </div>
                    <div>
                        <input type="submit" value="Отправить" />
                    </div>
                </form>
            </div>
        </div>
    </div>
</body>
</html>
